package lean;

public class Student {
    //在本类中实现方法的调用
    public   void a (String name,int age){
       String eat= b();
       System.out.println(name +eat);
    }
    public  String b(){
        return "我吃过了";
    }
    public static void main(String[] args){
        Student tu=new Student();
    tu.a("张三",18);
    }
}
